package com.hznc.wcs.excel.model;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.lang.Double;
import java.math.BigDecimal;

import com.alibaba.excel.enums.BooleanEnum;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.diboot.core.util.D;
import com.diboot.core.util.V;
import com.diboot.core.data.copy.Accept;
import com.diboot.file.excel.BaseExcelModel;
import com.hznc.wcs.entity.wcs.Mission;
import lombok.Getter;
import lombok.Setter;
import jakarta.validation.constraints.NotNull;

/**
* 任务管理 导出model定义
*
* @author MyName
* @version 1.0
* @date 2024-11-28
 * Copyright © MyCorp
*/
@Getter
@Setter
@ExcelIgnoreUnannotated
public class MissionExportModel extends BaseExcelModel {

    /**
    * 订单编号
    */
    @ExcelProperty(value = "订单编号")
    private String orderCode;

    /**
    * 操作类型
    */
    @Accept(name = "operateTypeLabel.label")
    @ExcelProperty(value = "操作类型")
    private String operateTypeLabel;
    /**
    * 日期
    */
    @DateTimeFormat(D.FORMAT_DATE_Y4MD)
    @ExcelProperty(value = "日期")
    private LocalDate missionDate;

    /**
    * 操作时间
    */
    @ExcelProperty(value = "操作时间")
    private String missionTime;

    /**
    * 状态
    */
    @Accept(name = "statusLabel.label")
    @ExcelProperty(value = "状态")
    private String statusLabel;
    /**
    * 优先级
    */
    @ExcelProperty(value = "优先级")
    private String priority;

    /**
    * 原仓位
    */
    @ExcelProperty(value = "原仓位")
    private String sourceWare;

    /**
    * 目标仓位
    */
    @ExcelProperty(value = "目标仓位")
    private String targetWare;

    /**
    * 物料类型
    */
    @ExcelProperty(value = "物料类型")
    private String mrlType;

}